import java.util.Vector;

//hello steve


public class Customer {

	private String firstName;
	private String secondName;
	private int    age;
	private Vector<BankAccount> bankaccounts = new Vector<BankAccount>();
	
	public Customer() {
		this.firstName  = "";
		this.secondName = "";
		this.age        = 0;
		this.bankaccounts.add( new BankAccount() );
	}
	
	public Customer( String f_name, String s_name, int age, double balance, String id ) {
		this.firstName  = f_name;
		this.secondName = s_name;
		this.age        = age;
		this.bankaccounts.add( new BankAccount( balance, id ) );
	}
	
	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getSecondName() {
		return secondName;
	}

	public void setSecondName(String secondName) {
		this.secondName = secondName;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public BankAccount getBankaccount(int index) {
		return bankaccounts.get(index);
	}
}
